<!--
<h1>Ajout d'un utilisateur admin</h1>

<form name="loginForm" method="post">
  <div><label>Login : </label><input type="text" name="loginForm[name]" value="{$values.name}"/>{if $errors.name!=""}<span>{$errors.name}</span>{/if}</div>
  <div><label>Password : </label><input type="password" name="loginForm[password]" />{if $errors.password!=""}<span>{$errors.password}</span>{/if}</div>
  <div><label>Password confirmation: </label><input type="password" name="loginForm[passwordConfirm]" />{if $errors.passwordConfirm!=""}<span>{$errors.passwordConfirm}</span>{/if}</div>
  <div><label>Adresse e-mail: </label><input type="text" name="loginForm[email]" value="{$values.email}"/>{if $errors.email!=""}<span>{$errors.email}</span>{/if}</div>
  <input type="submit" name="loginForm[submit]" />
</form>
-->
<form name="loginForm" method="post">
	<fieldset id="adminRegisterForm">
		<legend>
			Admin Register
		</legend>
		<table style="margin: auto;">
			<tr>
				<td><label for="login">Login : </label></td>
				<td>
					<input type="text" name="loginForm[name]" id="login" {if $values.name!=""}value="{$values.name}"{/if} {if $errors.name}class="error"{/if}/>
					{if $errors.name!=""}<div class="error">{$errors.name}</div>{/if}
				</td>
			</tr>
			<tr>
				<td><label for="password">Mot de passe : </label></td>
				<td>
					<input type="password" name="loginForm[password]" id="password" {if $values.password!=""}value="{$values.password}"{/if} {if $errors.password}class="error"{/if} />
					{if $errors.password!=""}<div class="error">{$errors.password}</div>{/if}
				</td>
			</tr>
			<tr>
				<td><label for="passwordConfirm">Confirmez le mot de passe : </label></td>
				<td>
					<input type="password" name="loginForm[passwordConfirm]" id="passwordConfirm" {if $values.passwordConfirm!=""}value="{$values.passwordConfirm}"{/if} {if $errors.passwordConfirm}class="error"{/if} />
					{if $errors.passwordConfirm!=""}<div class="error">{$errors.passwordConfirm}</div>{/if}
				</td>
			</tr>
			<tr>
				<td><label for="mail">Adresse e-mail : </label></td>
				<td>
					<input type="text" name="loginForm[mail]" id="mail" {if $values.mail!=""}value="{$values.mail}"{/if} {if $errors.mail}class="error"{/if}/>
					{if $errors.mail!=""}<div class="error">{$errors.mail}</div>{/if}
				</td>
			</tr>
			<tr>
				<td colspan="2" style="text-align: center;">
					<input type="submit" value="Connexion" name="loginForm[submit]" />
				</td>
			</tr>
		</table>
	</fieldset>
</form>